home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MISC / SHELL.ARC / Shell / h / Check < prev    next >
Encoding:
Text File  |  1994-08-17  |  1009 b   |  26 lines

  1. #ifndef __Shell_Check_h
  2. #define __Shell_Check_h
  3.  
  4. #ifndef __Shell_h
  5. #include "Shell.Shell.h"
  6. #endif
  7.  
  8. BOOL Shell_CheckWindowSizeScroll( window_handle w, const wimp_rect *rect, BOOL bottomscroll);
  9.     /* This function is called whenever a rectangle is added to a window.        */
  10.     /* The window w is resized to include the (workarea coors) rectangle 'rect'    */
  11.     /* and, if 'bottomscroll' is TRUE, the window is kept at lowest scroll if     */
  12.     /* already there.                                */
  13.  
  14.  
  15. #define Shell_CheckWindowSize( w, r) Shell_CheckWindowSizeScroll( w, r, FALSE)
  16.     /* A simple macro - this form is more useful than above.    */
  17.  
  18. void Shell_CheckWindSizeAndRedraw( window_handle window, const wimp_rect *rect);
  19. void Shell_CheckWindSizeAndRedrawAndScroll( window_handle window, const wimp_rect *rect);
  20. void Shell_CheckWindSizeAndRedrawSlow( Shell_rectblock *rectblock);
  21.     /* Use this if a rectangle has had its size changed, but any redraws should    */
  22.     /* take notice of rectblock->update_time. This is used by Shell_ReLabel(...)    */
  23.  
  24.  
  25. #endif
  26.